/**
 * 在生产环境 代理是无法生效的，所以这里没有生产环境的配置
 * The agent cannot take effect in the production environment
 * so there is no configuration of the production environment
 * For details, please see
 * https://pro.ant.design/docs/deploy
 */
export default {
  dev: {
    '/api/': {
      target: 'https://preview.pro.ant.design',
      changeOrigin: true,
      pathRewrite: {'^': ''},
    },
    '/btc/': {
      target: 'http://192.168.84.235:8099/',
      changeOrigin: true,
      pathRewrite: {'^/btc': ''},
    },
   '/fsd/': {
      target: 'http://192.168.84.126:8184/',
      changeOrigin: true,
      pathRewrite: {'^/fsd': ''},
    },
   '/hk/': {
      target: 'http://45.207.172.5:8184/',
      // target: 'http://173.248.248.172:8184/',
     // target: 'http://192.168.84.126:8184/',
      changeOrigin: true,
      pathRewrite: {'^/hk': ''},
    },
    '/fss/': {
      // target: 'http://192.168.84.68:8081', //HY
      // target: 'http://192.168.84.23:8092/', //jiangjun2
      // target: 'http://192.168.84.23:8081/', //jiangjun
      // target: 'http://192.168.84.35:8081/', //CX
      // target: 'http://192.168.3.20:8081/',//xjc
      // target: 'http://192.168.84.235:8081/',//xjc
      // target: 'http://192.168.1.229:8081/',//xjc
      // target: 'http://192.168.152.153:8081/',//xjc
      target: 'http://fss.91stock.net/fss/',

      changeOrigin: true,
      pathRewrite: { '^/fss': '' },
    },
  },
  test: {
    '/api/': {
      target: 'https://preview.pro.ant.design',
      changeOrigin: true,
      pathRewrite: {'^': ''},
    },
  },
  pre: {
    '/api/': {
      target: 'your pre url',
      changeOrigin: true,
      pathRewrite: {'^': ''},
    },
  },
};
